package com.example.shiroredisdemo.repository;

import com.example.shiroredisdemo.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2018-01-06
 **/
public interface UserRepository extends JpaRepository<User,Integer> {
    public User findByUsername(String username);
}
